<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>备份数据库</title>
<style type="text/css">
body {
	margin:0px;
}
.list_content {
	background-color: #fff;
	color:#73938E;
	font-size:12px;
	line-height:15px;
	text-align:center;
}
.list_top_title {
	font-size:12px;
	background-color: #F3F8F7;
	color:#73938E;
	font-weight:bold;
	line-height:30px;
	text-align:center;
	white-space: normal;
	display: block;
	border-top-style: none;
	border-right-style: none;
	border-bottom-style: none;
	border-left-style: none;
}
</style>
</head>

<body>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  <TR height=28 >
    <TD background=../images/title_bg1.jpg>-->当前位置:教师信息维护</TD>
</TR>
<tr>
<td>&nbsp;</td>
</tr>
</TABLE>
<table width="500" border="1" align="center" bordercolor="#F3F8F7"  cellpadding="3" cellspacing="0" >
  <tr>
    <th scope="col" class="list_top_title">备份恢复数据库</th>
  </tr>
  <tr>
    <td class="list_content"><div align="center"><a href="../main/del_stock_chk.php"  onclick="return del_bak();">删除旧备份</a></div></td>
  </tr>
  <tr>
    <td align="center">
    	<form name="bak" id="bak" method="post" action="../main/data_stock_chk.php">
			<input type="submit" id="butt" value="备份数据">&nbsp;
			<input type="text" name="b_name" value="<?php echo date("Ymdhms"); ?>.sql" readonly="readonly" size="25">
		</form>    
    </td>
  </tr>
  <tr>
    <td align="center">
    	<form name="rebak" id="rebak" method="post" action="../main/rebak_stock_chk.php">
        <input type="submit"  id="butt" value="恢复备份"/>	&nbsp;
        <select name="r_name" style="width:187px;">
            <?php
            include("../main/function.php");
            include("../main/ShowPage.class.php");
            //include("../main/islogin.php");
            $filename = show_file();
                for($num = 2;$num<count($filename);$num++){
            ?>
                <option value="<?php echo $filename[$num]; ?>"><?php echo $filename[$num]; ?></option>
            <?php
                }
            ?>
		</select>
	</form>
    </td>
  </tr>
</table>
</body>
</html>